package lab02.test37;

/**
 * Created by 14394 on 2017/11/13.
 */
abstract class Student {
    public String name;
    public int type;
    public double[] grades=null;

    public double getAverygeGrades(){
        double d=0;
        for (int i=0;i< grades.length;){
            d+=grades[i++];
        }
        return d/3;
    }
}
